package org.bbl.db.domain;


import java.io.Serializable;

/**
 * @author biniamg
 * @since 1/2/13
 */
public class Language implements Serializable {
    int languageId, familyId;
    String shortName;
    String longName;


    public int getLanguageId() {
        return languageId;
    }

    public void setLanguageId(int languageId) {
        this.languageId = languageId;
    }

    public int getFamilyId() {
        return familyId;
    }

    public void setFamilyId(int familyId) {
        this.familyId = familyId;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getLongName() {
        return longName;
    }

    public void setLongName(String longName) {
        this.longName = longName;
    }

    public String getTableName() {
        return shortName.toLowerCase() + "_bible";
    }

    public boolean isGeezFamily() {
        return familyId == 2;
    }


}
